﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IManCoRepository.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the IManCoRepository type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace UnityRepository.Interfaces
{
  using System;
  using System.Collections.Generic;
  using Entities;
  using Repository;

  public interface IManCoRepository : IRepository<ManCo>
  {
    ManCo GetManCo(Int32 id);

    ManCo GetManCo(String code);

    IList<ManCo> GetManCos();

    IList<ManCo> GetManCos(IList<Int32> manCoIds);

    IList<ManCo> GetManCosByUserId(String userId);

    void Update(Int32 manCoId, String code, String description);

    IEnumerable<ManCo> GetManCos(Int32 domicileId);

    ManCo GetManCoForCart(String cartId);
  }
}
